﻿@model BrnMall.Web.MallAdmin.models.WebXinJoinConfigModel
@section header{
	<title>接入设置</title>
	<link type="text/css" rel="stylesheet" href="/admin_mall/content/css/site.css" />
	<script type="text/javascript" src="/admin_mall/scripts/jquery.js"></script>
	<script type="text/javascript" src="/admin_mall/scripts/showlist.js"></script>
	<link rel="stylesheet" type="text/css" href="/admin_mall/content/jbox/Skins/Default/jbox.css" />
	<script type="text/javascript" src="/admin_mall/content/jbox/jquery.jBox-2.3.min.js"></script>
	<script type="text/javascript" src="/admin_mall/scripts/selectlist.js"></script>
	<script type="text/javascript" src="/admin_mall/scripts/product.js"></script>
	<script src="/admin_mall/scripts/distributionproductset.js"></script>
	<script type="text/javascript">
		productPageType = 2;
	</script>
}
@section body{
	<h1 class="rightH1">
		微信管理 &gt;&gt; 接入设置
		<div class="clear">
		</div>
	</h1>
	@using (Html.BeginForm())
	{
		@Html.HiddenFor(_ => _.Id)
		<div class="addTable">
			<table>
				<tr>
					<td><label>Url:</label></td>
					<td>@Html.TextBoxFor(_ => _.Url, new { style = "width:300px" })</td>
				</tr>
				<tr>
					<td><label>AppID(应用ID):</label></td>
					<td>@Html.TextBoxFor(_ => _.AppID, new { style = "width:300px" })</td>
				</tr>
				<tr>
					<td><label>AppSecret(应用密钥):</label></td>
					<td>@Html.TextBoxFor(_ => _.AppSecret, new { style = "width:300px" })</td>
				</tr>
				<tr>
					<td>Token(令牌):</td>
					<td>@Html.TextBoxFor(_ => _.Token, new { style = "width:300px" })</td>
				</tr>
				<tr>
					<td>EncodingAESKey(消息加解密密钥):</td>
					<td>@Html.TextBoxFor(_ => _.EncodingAESKey, new { style = "width:300px" })</td>
				</tr>
				<tr>
					<td>消息加解密方式:</td>
					<td>@Html.DropDownListFor(_ => _.EncodingAESMode, new[] { new SelectListItem { Text = "明文", Value = "Plaintext" }, })</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<a href="" class="addBt submit">
							<img src="/admin_mall/content/images/submit.jpg" />
						</a>
					</td>
				</tr>
			</table>
		</div>
	}
}